package cn.study.luckydomain.gateway;

import cn.study.luckyclient.dto.query.RecordListByParamQuery;
import cn.study.luckydomain.record.RecordEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface RecordGateWay {
    RecordEntity save(RecordEntity entity);

    IPage<RecordEntity> page(RecordListByParamQuery query);

    Boolean updateStatus(Long id, Integer status);
}
